Package com.cisco.pt.ipc.sim.impl
Class PtpProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.PtpProcessImpl
- All Implemented Interfaces:
IPCObject,Process,PtpProcess
Information provided by the PKI file:
\class CPTPProcess
\This class holds PTPProcess declaration.
\example network().getDevice("Switch0").getProcess("CPTPProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionPtpProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanInformation provided by the PKI file:booleanInformation provided by the PKI file:longgetT1()Information provided by the PKI file:longgetT2()Information provided by the PKI file:longgetT3()Information provided by the PKI file:longgetT4()Information provided by the PKI file:voidrunBMC()Information provided by the PKI file:voidsetPtpDebugEventFlag(boolean flag) Information provided by the PKI file:voidsetPtpDebugMsgFlag(boolean flag) Information provided by the PKI file:voidsetT1(long t) Information provided by the PKI file:voidsetT2(long t) Information provided by the PKI file:voidsetT3(long t) Information provided by the PKI file:voidsetT4(long t) Information provided by the PKI file:voidInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
PtpProcessImpl
public PtpProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getT1
public long getT1()Information provided by the PKI file:
\brief Returns the T1 value. \return long, the T1 value.- Specified by:
getT1in interfacePtpProcess- Returns:
- long Returns a long
-
getT2
public long getT2()Information provided by the PKI file:
\brief Returns the T2 value. \return long, the T2 value.- Specified by:
getT2in interfacePtpProcess- Returns:
- long Returns a long
-
getT3
public long getT3()Information provided by the PKI file:
\brief Returns the T3 value. \return long, the T3 value.- Specified by:
getT3in interfacePtpProcess- Returns:
- long Returns a long
-
getT4
public long getT4()Information provided by the PKI file:
\brief Returns the T4 value. \return long, the T4 value.- Specified by:
getT4in interfacePtpProcess- Returns:
- long Returns a long
-
setT1
public void setT1(long t) Information provided by the PKI file:
\brief Sets the T1 value. \param t, the T1 value to use.- Specified by:
setT1in interfacePtpProcess- Parameters:
t- Takes in a parameter of t
-
setT2
public void setT2(long t) Information provided by the PKI file:
\brief Sets the T2 value. \param t, the T2 value to use.- Specified by:
setT2in interfacePtpProcess- Parameters:
t- Takes in a parameter of t
-
setT3
public void setT3(long t) Information provided by the PKI file:
\brief Sets the T3 value. \param t, the T3 value to use.- Specified by:
setT3in interfacePtpProcess- Parameters:
t- Takes in a parameter of t
-
setT4
public void setT4(long t) Information provided by the PKI file:
\brief Sets the T4 value. \param t, the T4 value to use.- Specified by:
setT4in interfacePtpProcess- Parameters:
t- Takes in a parameter of t
-
setPtpDebugEventFlag
public void setPtpDebugEventFlag(boolean flag) Information provided by the PKI file:
\brief Sets debug event flag for ptp. \param flag, true to enable debug, false to disable.- Specified by:
setPtpDebugEventFlagin interfacePtpProcess- Parameters:
flag- Takes in a parameter of flag
-
getPtpDebugEventFlag
public boolean getPtpDebugEventFlag()Information provided by the PKI file:
\brief Gets debug event flag for ptp. \return bool, true if debug enabled, false if disabled.- Specified by:
getPtpDebugEventFlagin interfacePtpProcess- Returns:
- boolean Returns a boolean
-
setPtpDebugMsgFlag
public void setPtpDebugMsgFlag(boolean flag) Information provided by the PKI file:
\brief Sets debug message flag for ptp. \param flag, value to use for the flag.- Specified by:
setPtpDebugMsgFlagin interfacePtpProcess- Parameters:
flag- Takes in a parameter of flag
-
getPtpDebugMsgFlag
public boolean getPtpDebugMsgFlag()Information provided by the PKI file:
\brief Gets debug message flag for ptp. \param return, value is the flag value.- Specified by:
getPtpDebugMsgFlagin interfacePtpProcess- Returns:
- boolean Returns a boolean
-
syncToCurrentTime
public void syncToCurrentTime()Information provided by the PKI file:
\brief Syncs the time to the current time.- Specified by:
syncToCurrentTimein interfacePtpProcess
-
runBMC
public void runBMC()Information provided by the PKI file:
\brief Runs BMC (best master clock).- Specified by:
runBMCin interfacePtpProcess
-